package com.asa.hutils.teizheng;
import com.asa.hutils.teizheng.Eigenvalue;
import com.asa.hutils.teizheng.structure.Matrix;



public class Test {

	
	public static void main(String[] args){
		double[] data = {
			1, 2, 3,
			2, 1, 3,
			3, 3, 6
		};
		Matrix mat = new Matrix(data.length/3, 3, data);
		Matrix eigenvalues = Eigenvalue.getEigenvalues(mat);
		
		eigenvalues.print();
		
		double[] getall = eigenvalues.getall();
		
		for (int i = 0; i < getall.length; i++) {
			System.out.println(getall[i]);
		}
	}

}
